package com.aaa.snsservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author: YuXin
 * @Date : Created in 2020/11/4 16:46
 * @ClassName : SnsApplication
 * @Description :
 * @Package_Name : com.aaa.snsservice
 */
@SpringBootApplication
@MapperScan("com.aaa.snsservice.dao")
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableFeignClients  //开启feign客户端
public class SnsApplication {
    public static void main(String[] args) {
        SpringApplication.run(SnsApplication.class, args);
    }
}
